import request from '@/utils/request'

// /card-lunbo/list GET
export function listLunbo(query) {
  return request({
    url: '/card-lunbo/list',
    method: 'get',
    params: query
  })
}

// /card-lunbo/delete POST
export function deleteLunbo(data) {
  return request({
    url: '/card-lunbo/delete',
    method: 'post',
    data
  })
}

// /card-lunbo/add POST请求
export function addLunbo(data) {
  return request({
    url: '/card-lunbo/add',
    method: 'post',
    data
  })
}